var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var ObjectId = Schema.ObjectId;

var ReplySchema = new Schema({
	content: String,
	authorId: ObjectId,
	topicId: ObjectId,
	lastUpdateAt: { type: Date, default: new Date() },
	createAt: { type: Date, default: new Date() }
});

mongoose.model('Reply', ReplySchema);